#include <stdio.h>
#include <stdlib.h>

int main()
{
    printf("short类型在内存中所占的大小:%d\n", sizeof(short));   // 2byte
    printf("int类型在内存中所占的大小:%d\n", sizeof(int));       // 4byte
    printf("long类型在内存中所占的大小:%d\n", sizeof(long));     // 4byte
    printf("float类型在内存中所占的大小:%d\n", sizeof(float));   // 4byte
    printf("double类型在内存中所占的大小:%d\n", sizeof(double)); // 8byte
    printf("char类型在内存中所占的大小:%d\n", sizeof(char));     // 1byte

    int X = 1;
    int $123 = 123;
    printf("%d\n",$123);
    printf("%.2f\n",2-1.4);


    system("pause");
    return 0;
}